<%@ page import="com.taskcollection.bean.TeacherBean" %><%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2016/7/24 0024
  Time: 上午 6:40
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    TeacherBean tea = (TeacherBean)request.getSession().getAttribute("教师");
    String name="";
    if(tea==null){
        response.sendRedirect(request.getContextPath()+"/login/login.jsp");
    }else{

         name = tea.getTeacher_name();
    }
%>
<link href="<%=ctxPath%>/static/inc/nav/css/nav.css" rel="stylesheet" />
<nav class="nav">
    <div class="Logo">
        <ul>
            <li><a href="<%=ctxPath%>/teacher/homepage.jsp" class="active">返回首页</a></li>
            <li><a href="<%=ctxPath%>/teacher/projectClassify.jsp">项目分类</a></li>
            <li><a href="<%=ctxPath%>/teacher/project.jsp">项目管理</a></li>
            <li><a href="<%=ctxPath%>/teacher/projectTeam.jsp">小组管理</a></li>
        </ul>
        <div class="welcome">
            <a href="javascript:void(0)"><%=name%></a> 老师，欢迎你&nbsp;&nbsp;&nbsp;&nbsp;
            <a href="<%=ctxPath%>/teacher/logout.jsp">退出登录</a>
        </div>
    </div>
</nav>
